//
//  TPUserOrderViewController.m
//  Yimei
//
//  Created by xiaowu xiaowu on 2017/12/12.
//  Copyright © 2017年 xiaowu xiaowu. All rights reserved.
//

#import "TPUserOrderViewController.h"

@interface TPUserOrderViewController ()

@end

@implementation TPUserOrderViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"我的订单";
    [self setup];
}
-(void)setup{
    
    [self.view tp_addNotMsg:@"还没有订单哦~~~"];
}

-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
    return 10;
}
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cellx"];
    if(!cell){
        cell = [[UITableViewCell alloc]initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:@"cellx"];
    }
    return cell;
}
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
    [tableView deselectRowAtIndexPath:indexPath animated:YES];
}
@end
